package com.project.bean;

import java.util.List;

/**
 * 员工对象实体类
 */
public class UserBean {
    /**员工编号*/
    private Integer userId;
    /**用户名*/
    private String userName;
    /**姓名*/
    private String name;
    /**用户密码*/
    private String userPwd;
    /**部门*/
    private String dept;
    /**职位*/
    private String job;

    public UserBean() {
    }

    public UserBean(String userName, String name, String userPwd, String dept, String job) {
        this.userName = userName;
        this.name = name;
        this.userPwd = userPwd;
        this.dept = dept;
        this.job = job;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }


    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", name='" + name + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", dept='" + dept + '\'' +
                ", job='" + job + '\'' +
                "}\n";
    }
}
